package cn.csust.net2.manager.shared.service;
import cn.csust.net2.manager.shared.exception.BeyondAuthorityException;
import cn.csust.net2.manager.shared.po.User;
import cn.csust.net2.manager.shared.util.ServiceConstant;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/** 
 * @author 韩忠金
 * @version 创建时间：2012-1-26 上午10:37:02 
 * 类说明 
 */
@RemoteServiceRelativePath(value = ServiceConstant.MANAGER+ServiceConstant.SERVICE_NAME_SECURITY)
public interface SecurityService extends RemoteService{
	public boolean testSecurity(User user,String authority)throws BeyondAuthorityException;
}
